package com.dingreading.cloud.web.service;

import com.dingreading.cloud.common.util.PageUtil;
import com.dingreading.cloud.web.entity.TellHistoryVideo;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 *  服务层。
 *
 * @author Administrator
 * @since 2024-04-07
 */
public interface TellHistoryVideoService extends IService<TellHistoryVideo> {

    Page<TellHistoryVideo> pageList(PageUtil pageUtil, String keyword, Integer enabled);

    int getMaxOrderNum();

    TellHistoryVideo getLtShowOrder(Long id, Integer orderNum);

    TellHistoryVideo getGtShowOrder(Long id, Integer orderNum);

    void updateShowOrder(Long id, Integer curOrderNum);

    List<TellHistoryVideo> getList(Integer enabled);
}
